
<meta charset="utf-8">
<input type="button" value="点我" onclick="bian()"/>

<script>
    var bian = function(){
        alert(1);
    }
</script>